<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8"></meta>
    <title>查看公告页面</title>
    <meta HTTP-EQUIV="Pragma" CONTENT="no-cache"></meta>
    <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache"></meta>
    <meta HTTP-EQUIV="Expires" CONTENT="0"></meta>
    <link rel="stylesheet" th:href="@{/static/layui/css/layui.css}" media="all"> </link>
    <style type="text/css">
        .layui-form-item .layui-inline{ width:33.333%; float:left; margin-right:0; }
        @media(max-width:1240px){
            .layui-form-item .layui-inline{ width:100%; float:none; }
        }
    </style>
</head>
<body >
    <div>
        <p style="font-size: 30px;text-align: center" th:text="${announcement.title}"></p>
    </div>
    <div style="padding: 20px">
        <p style="font-size: 15px;text-align: center" th:text="${#dates.format(announcement.senddate,'yyyy-MM-dd')}"></p>
    </div>
    <div style="width: 60%; margin: 0 auto; padding: 20px;" th:utext="${announcement.content}">

    </div>


<script type="text/javascript" th:src="@{/static/layui/layui.js}"></script>
</body>
</html>